@import './styles/wikiViewStyles.scss';
@import './styles/paraListItem.scss';
@import './styles/globalValues';

*{
  margin: 0px;
  padding: 0px;
}

body{
  background-color: white;
}

.main {
  margin: auto;
  margin-top: $topbar-height;
  width: calc(100% - 40px);
  max-width: 1100px;
  height: calc(100vh - $topbar-height);
  overflow-x: auto;
  overflow-y: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.main>* {
  overflow: auto;
}

table td {
  padding: 5px;
  background-color: #eee;
  text-align: center;
}
table.index tr:hover td{
  background-color: #ddd;
}
table th{
  background-color: cornflowerblue;
  color:white;
  padding: 5px;
}
table tr.noneBackground td{
  background:none;
}


input {
  font-size: unset;
  margin: 5px;
  padding: 3px;
  border: 1px solid #aaa;
  box-sizing: border-box;
  border-radius: 5px;
}
input[type=file]{
  width: 200px;
  background-color: white;
}
input[type=checkbox]{
  height: 1.5em;
  width: 1.5em;
}
select {
  font-size: 18px;
  padding: 3px;
  vertical-align: middle;
  border: 1px solid #ccc;
  border-radius: 3px;
  margin: 5px;
}

button {
  background-color: cornflowerblue;
  color: white;
  padding: 5px;
  margin: 2px;
  border-radius: 5px;
  border: none;
  font-size: unset;
  margin-bottom: 2px;
  transition: 0.4s;
  vertical-align: middle;
  cursor: pointer;
  &:hover{
    background-color:rgb(0, 49, 139);
  }
}
button.confirm {
  background-color: cornflowerblue;
}
button.confirm:hover{
  background-color:rgb(0, 49, 139);
}
button.ok{
  background-color: olivedrab;
}
button.ok:hover{
  background-color: green;
}
button.queryAdjust{
  border: none;
  background: none;
  color:white;
  margin: 0px;
}
button.minor{
  background-color: white;
  border:2px solid #aaa;
  padding: 3px;
  color:#aaa;
}
button.minor:hover{
  color:black;
  border-color: black;
}
button.cancel{
  background-color:plum
}
button.cancel:hover{
  background-color:palevioletred
}
button.danger{
  background-color: red;
}
button.danger:hover{
  background-color: darkred;
}
button.off{
  background-color: #666;
}
button.off:hover{
  background-color: #222;
}
button.lite{
  background-color: transparent;
  border: none;
  color:#666;
  padding: 0px;
  margin: 0px;
  &:hover{
    text-decoration: underline;
  }
}

.section{
  margin-bottom: 30px;
  padding: 5px;
}
.section>h2{
  font-size: 16px;
  color: #666;
  letter-spacing: 0.1em;
  font-weight: normal;
  margin-bottom: 10px;
}

h1 {
  font-size: 20px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  margin-top: 20px;
  border-bottom: 2px solid #aaa;
  color: #666;
  letter-spacing: 0.1em;
  font-weight: normal;
}


a{
  color:#666;
  text-decoration: none;
  cursor: pointer;
  &:hover{
    color:black;
    text-decoration: underline;
  }
}

.invisible{
  display: none;
}

.fixFill{
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  bottom: 0px;
}

.smallAvatar{
  width: 30px;
  height: 30px;
  border-radius: 1000px;
  margin: 3px;
  vertical-align: middle;
  object-fit: contain;
}
.bigAvatar{
  width: 150px;
  height: 150px;
  border:2px solid #eee;
  border-radius: 1000px;
  object-fit: contain;
}

.notifExists{
  background-color: red;
  height: 10px;
  width: 10px;
  border-radius: 1000px;
}

.icon{
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border: 1px solid white;
  border-radius: 3px;
  font-size: 10px;
  color:white;
  flex-shrink: 0;
}
.wikiIcon{
  width: 20px;
  height: 20px;
  line-height: 20px;
  border-radius: 3px;
  text-align: center;
  background-color: white;
  border:1px solid black;
  color:black;
  font-family: 'Times New Roman', Times, serif;
  font-size: 15px;
  flex-shrink: 0;
}